package com.liyuhan.mapper;

import com.liyuhan.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by 李宇寒
 * Description:
 * 2019/6/23 0023 下午 9:04.
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where name like '%${value}%'")
    List<User> queryUserByName(String name);
}
